package com.czl.module_storehouse.bean;

import com.czl.base.data.bean.tengyun.ProductBean;
import com.czl.base.data.bean.tengyun.ReceiveBean;
import com.czl.base.data.bean.tengyun.SortBean;

import java.util.List;

/**
 * @author by xubin,
 * @date on 2022/1/24.
 * PS: Not easy to write code, please indicate.
 */
public class ReceiveInfoBean {
    private int storehouseId;
    private int applyId;
    private Integer showId;
    private int receivePersonId;
    private Integer receivrOrganizationId;
    private String receivePersonName;
    private int receiveCompanyId;
    private String receiveCompanyShortName;
    private String operaterId;
    private String receiveCompanyName;
    private String operaterName;
    private String receiveComment;
    private String receiveApprover;
    private String applyComment;
    private ReceiveBean mReceiveBean;
    private List<SortBean> sortList;
    private List<ProductBean> productList;

    public void setReceiveBean(ReceiveBean receiveBean) {
        if (receiveBean == null) {
            return;
        }
        this.applyId = receiveBean.getApplyId();
        this.receivePersonId = receiveBean.getReceivePersonId();
        this.receivePersonName = receiveBean.getReceivePersonName();
        this.receiveComment = receiveBean.getReceiveComment();
        this.applyComment = receiveBean.getApplyComment();
        this.receiveApprover = receiveBean.getApproveUserName();
        this.receiveCompanyName = receiveBean.getReceiveCompanyName();
    }

    public int getStorehouseId() {
        return storehouseId;
    }

    public void setStorehouseId(int storehouseId) {
        this.storehouseId = storehouseId;
    }

    public int getApplyId() {
        return applyId;
    }

    public void setApplyId(int applyId) {
        this.applyId = applyId;
    }

    public Integer getShowId() {
        return showId;
    }

    public void setShowId(Integer showId) {
        this.showId = showId;
    }

    public int getReceivePersonId() {
        return receivePersonId;
    }

    public void setReceivePersonId(int receivePersonId) {
        this.receivePersonId = receivePersonId;
    }

    public Integer getReceivrOrganizationId() {
        return receivrOrganizationId;
    }

    public void setReceivrOrganizationId(Integer receivrOrganizationId) {
        this.receivrOrganizationId = receivrOrganizationId;
    }

    public String getReceivePersonName() {
        return receivePersonName;
    }

    public void setReceivePersonName(String receivePersonName) {
        this.receivePersonName = receivePersonName;
    }

    public int getReceiveCompanyId() {
        return receiveCompanyId;
    }

    public void setReceiveCompanyId(int receiveCompanyId) {
        this.receiveCompanyId = receiveCompanyId;
    }

    public String getReceiveCompanyShortName() {
        return receiveCompanyShortName;
    }

    public void setReceiveCompanyShortName(String receiveCompanyShortName) {
        this.receiveCompanyShortName = receiveCompanyShortName;
    }

    public String getOperaterId() {
        return operaterId;
    }

    public void setOperaterId(String operaterId) {
        this.operaterId = operaterId;
    }

    public String getReceiveCompanyName() {
        return receiveCompanyName;
    }

    public void setReceiveCompanyName(String receiveCompanyName) {
        this.receiveCompanyName = receiveCompanyName;
    }

    public String getOperaterName() {
        return operaterName;
    }

    public void setOperaterName(String operaterName) {
        this.operaterName = operaterName;
    }

    public String getReceiveComment() {
        return receiveComment;
    }

    public void setReceiveComment(String receiveComment) {
        this.receiveComment = receiveComment;
    }

    public String getReceiveApprover() {
        return receiveApprover;
    }

    public void setReceiveApprover(String receiveApprover) {
        this.receiveApprover = receiveApprover;
    }

    public String getApplyComment() {
        return applyComment;
    }

    public void setApplyComment(String applyComment) {
        this.applyComment = applyComment;
    }

    public ReceiveBean getReceiveBean() {
        return mReceiveBean;
    }

    public List<SortBean> getSortList() {
        return sortList;
    }

    public void setSortList(List<SortBean> sortList) {
        this.sortList = sortList;
    }

    public List<ProductBean> getProductList() {
        return productList;
    }

    public void setProductList(List<ProductBean> productList) {
        this.productList = productList;
    }
}
